package com.chengke.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chengke.novel.entity.BookInfo;
import org.apache.ibatis.annotations.Param;


/**
 * 小说信息 Mapper 接口
 * @Author CK
 * @Date 2023/03/18
 */
public interface BookInfoMapper extends BaseMapper<BookInfo> {

    /**
     * 增加小说点击量
     *
     * @param bookId 小说ID
     */
    void addVisitCount(@Param("bookId") Long bookId);

}
